Fix existence check for MMIO-mapped 16550 UARTs
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 4 Dec 2008 11:36:18 +0000 (11:36 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 4 Dec 2008 11:36:18 +0000 (11:36 +0000)
commit512ceccfaafe0c6175bcaaf6ffa92e008f159d8e
tree423b345d65b0a87860c2bc603997448ffc770eb6
parent69dff7d53223944bbbfa88a124473d718400dc3d
Fix existence check for MMIO-mapped 16550 UARTs

Changeset 982e6fce0e47 added an existence test for UARTs.
Unfortunately, the existence test happens before MMIO UARTs are
ioremapped, therefore it may not be probing where it thinks it's
probing.  Rather than moving more code around, I think it's probably
safe to assume the arch code knows what it's doing if it passes in an
MMIO UART.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen/drivers/char/ns16550.c